package org.jeecg.module.flow.meter.tcpserver.constant;

/**
 * @Author: 86176
 * @Date: 2024-05-23 8:14
 * @Version: 1.0
 */
public interface FlowMeterNettyConstant {

    //netty端口号
    public static final int PORT = 8506;

    //最大重试次数
    public static final int MAX_RETRY_ATTEMPTS = 3;

    // 双倍CPU核心数
    public static final int WORKER_THREADS = Runtime.getRuntime().availableProcessors() * 2;

    // 接收队列大小
    public static final int BACKLOG_SIZE = 8192;
}
